<%namespace name="admin_include" file="/admin/base/include.html" />
<%inherit file="/front/base/normalbase.html"/>
<%def name="script()">
${admin_include.validationEngine()}
</%def>

<%def name="center()">
<div class="row">
    <div class="span9">
    <div class="page-header">
        <h1>
            <a href="#sd">用户注册</a>
        </h1>
    </div>
    <div class="alert alert-success" style="text-align:center;">
        <h4 class="alert-heading">非常感谢!</h4>
        <br/>
        非常感谢您对<code>5ibang</code>的信任和支持。我们一定竭尽全力提供最好的商品和服务。
        <br/>
        欢迎您提供建议和批评，帮助我们不断提高.
        <br/>
        <br/>
        您的注册邮箱是<code>${user and user.email or ''}</code>, <code id="count"></code>秒后将会将您转到登陆页面。或者直接点击<a href="/user/login.html">登陆</a>
    </div>
    </div>
</div>
<script language='javascript' type='text/javascript'> 
    var secs =5; //倒计时的秒数 
    var URL ; 
    function Load(url){ 
        URL =url; 
        for(var i=secs;i>=0;i--) 
        { 
            window.setTimeout('doUpdate(' + i + ')', (secs-i) * 1000); 
        } 
    } 
    function doUpdate(num) 
    { 
        document.getElementById('count').innerHTML = num; 
        if(num == 0) { window.location=URL; } 
    } 
    Load('/user/login.html');
</script> 
</%def>
